from PyStats.WilcoxonFunction import Wilcoxon
import csv 

infile = open('MSRRForAllTests.txt', 'rU') #'U' means Universal newlines - works equally on Mac, PC Unix.

#data = infile.read()
csvObject = csv.reader(infile)

x = []
y = []
for i, row in enumerate(csvObject):
    if i>0: #skip the first (heading) row:
        parts = row.split("\t")
        x.append(int(row[0]))
        y.append(int(row[1]))

Wilcoxon(x, y)
